package com.ipfsemc.ipfsemc.service;

import com.ipfsemc.ipfsemc.model.Bounty;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IBountyService {
    public int addBounty(Bounty bounty);
    public int delBounty(String bountyId);

    public List<Bounty> listBounty(Bounty bounty);

    public List<Bounty> listBountyState(Bounty bounty);
}
